#ifndef ATTACKLEASES_H
#define ATTACKLEASES_H

#include <stdlib.h>
#include<vector>
#include <iostream>
#include <fstream>

using namespace std;

class attackleases
{
public:
    attackleases(string);
    struct attackLeasesStructure
    {
        string IP;
        long tm;
    };

    void addLease(string,long);
    void removeLease(int);
    attackLeasesStructure getLease(int);
    int getLeasesSize();
    int leaseExist(string);
    void printattackLeases();

private:
    vector<attackLeasesStructure> data;
    int Storage;
    string leasesFileName;



};

#endif // ATTACKLEASES_H
